package org.zfes.snowier.cloud.zbss.metting.router.service.tenant;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.zfes.snowier.web.controller.BaseController;
import org.zfes.snowier.cloud.zbss.metting.biz.model.Signin;
import org.zfes.snowier.cloud.zbss.metting.biz.service.ISigninService;
@Controller("org.zfes.snowier.cloud.zbss.metting.router.service.tenant.SigninController") 
@RequestMapping("/met/service/tenant/signin")
public class SigninController extends BaseController {

	
	@Autowired
	private ISigninService signinService;
	
    @RequestMapping(value="/loadSigninByMetId", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public @ResponseBody  Object loadSigninByMetId(Long metId){
    	List<Signin> signinList=  signinService.loadSigninByMetId(metId,Byte.valueOf("1"));
	    return ajaxQuery("signinList", signinList);
    }
	
	
	

}